import request from "@/utils/request";

export const getEnumsApi = (data: any) =>
    request({
        url: '/enum/get',
        method: 'POST',
        data: data,
    });

export const checkLoginApi = () =>
    request({
        url: '/checkLogin',
        method: 'POST',
        data: {},
    });